# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=uw-offish
pkgver=0.1
pkgrel=2
groups=('blackarch' 'blackarch-networking')
pkgdesc='Clear-text protocol simulator.'
arch=('x86_64' 'aarch64')
url='http://uberwall.org/bin/download/42/UW_offish-0.1.tar.gz'
license=('custom:unknown')
source=("http://uberwall.org/bin/download/download/42/UW_offish-$pkgver.tar.gz")
sha512sums=('720977b10852e2be2106a43e5d22a6202059b156f814b920d2de3c5f3aba8567f8394bbc76e6126dbfe4ba98c3f9adf45e68b39f13ea3f3171696d8828c07313')

build() {
  cd "UW_offish-$pkgver"

  make
}

package() {
  cd "UW_offish-$pkgver"

  install -Dm 755 UWoffish "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 README "$pkgdir/usr/share/doc/$pkgname/README"
}

